package org.microframework.cloud.system.service.impl;

import org.microframework.cloud.system.service.ISysMenuService;
import org.microframework.cloud.system.service.ISysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

/**
 * 系统菜单服务实现类
 */
@Service
public class SysMenuServiceImpl implements ISysMenuService {
    
    @Autowired
    private ISysUserService sysUserService;
    
    @Override
    public List<String> findPermissionsByUserId(String userId) {
        return sysUserService.findUserPermissions(userId);
    }
} 